package com.nnfe.fyd.feature.inquiry;

import android.content.Context;

import com.nnfe.fyd.R;
import com.nnfe.fyd.base.recycler.RecyclerAdapter;
import com.nnfe.fyd.base.recycler.ViewHolder;
import com.nnfe.fyd.bean.myinquirt.InquirtBean;

import java.util.List;

/**
 * ----------------------------------
 * Created by xyd on 2017/4/19.
 * <p/>
 * 描  述：
 * <p/>
 * 修订历史:
 * ----------------------------------
 */

public class InquiryAdapter_recycler extends RecyclerAdapter<InquirtBean.Inquirt> {

    public InquiryAdapter_recycler(Context context, List<InquirtBean.Inquirt> dataList, int layoutId) {
        super(context, dataList, layoutId);
    }

    @Override
    public void convert(ViewHolder holder, InquirtBean.Inquirt itemData) {
        holder.setText(R.id.danhao, "单号000")
                .setText(R.id.zhuzhi, "住址是...")
                .setText(R.id.mianji, "120平米")
                .setText(R.id.details, "详细地址")
                .setText(R.id.baodan, "报单按钮");
    }


}
